﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
    <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE" />
    <link href="/ViewV5/CSS/bootstrap3.3.5/css/bootstrap.css" rel="stylesheet" />
    <link rel="stylesheet" href="/ViewV5/JS/BootstrapTable/bootstrap-table.css" />

</head>
<body>
    <div class="container maindiv" style="margin-top: 20px;width:800px;    ZOOM: 0.75;" id="dvContent">
        <div id="princontent" style="margin-top:10px" ms-controller="dydata">
            <table class="table table-hover table-striped table-bordered">
                <thead>
                    <tr>
                        <th colspan="9" style="text-align:center;font-size:20px">
                            <!--陕西石头河水库灌溉管理局-->
                        </th>
                    </tr>
                    <tr>
                        <th colspan="9" style="text-align:center;font-size:18px">
                            农业灌溉水费票据
                            <!--<span style="float:right;font-size:14px">NO:201811010001</span>-->
                        </th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td style="text-align:center">用水单位</td>
                        <td colspan="5">{{dydata.YSDW}}</td>

                        <td style="text-align:center">开票日期</td>
                        <td colspan="3">{{dydata.KPRQ}}</td>

                    </tr>
                    <tr>
                        <td rowspan="2" style="text-align:center;vertical-align:middle">灌水时间</td>

                        <td rowspan="2" style="text-align:center;vertical-align:middle">作物种类</td>

                        <td rowspan="2" style="text-align:center;vertical-align:middle">亩数</td>
                        <td rowspan="2" style="text-align:center;vertical-align:middle;display:none">
                            流量
                        </td>
                        <td colspan="2" style="text-align:center;vertical-align:middle">用水量</td>
                        <td colspan="2" style="text-align:center;vertical-align:middle">
                            终端水价
                        </td>
                        <td rowspan="2" style="text-align:center;vertical-align:middle">
                            水费合计
                        </td>
                    </tr>
                    <tr>

                        <td style="text-align:center;vertical-align:middle">一档</td>
                        <td style="text-align:center;vertical-align:middle">
                            二档
                        </td>
                        <td style="text-align:center;vertical-align:middle">一档</td>
                        <td style="text-align:center;vertical-align:middle">
                            二档
                        </td>
                    </tr>
                    <tr>
                        <td rowspan="2" style="text-align:center;vertical-align:middle">{{dydata.GSSJ}}</td>
                        <td style="text-align:center;vertical-align:middle">粮油作物</td>

                        <td style="text-align:right">{{dydata.LYMS}}</td>

                        <td style="display:none">{{dydata.LYLL}}</td>
                        <td style="text-align:right">
                            {{dydata.LYYSL1}}
                        </td>
                        <td style="text-align:right">{{dydata.LYYSL2}}</td>
                        <td style="text-align:right">
                            {{dydata.LYYSJ1}}
                        </td>
                        <td style="text-align:right">
                            {{dydata.LYYSJ2}}
                        </td>
                        <td style="text-align:right">
                            {{dydata.LYSFHJ}}
                        </td>

                    </tr>
                    <tr>
                        <td style="text-align:center;vertical-align:middle">经济作物</td>

                        <td style="text-align:right">{{dydata.JJMS}}</td>

                        <td style="display:none">{{dydata.JJLL}}</td>
                        <td style="text-align:right">
                            {{dydata.JJYSL1}}
                        </td>
                        <td style="text-align:right">{{dydata.JJYSL2}}</td>
                        <td style="text-align:right">
                            {{dydata.JJYSJ1}}
                        </td>
                        <td style="text-align:right">
                            {{dydata.JJYSJ2}}
                        </td>
                        <td style="text-align:right">
                            {{dydata.JJSFHJ}}
                        </td>

                    </tr>
                    <tr>
                        <td style="text-align:center">交款金额（大写）</td>
                        <td colspan="5">{{dydata.JKJEDX}}</td>

                        <td style="text-align:center">小写</td>
                        <td colspan="3" style="text-align:right">{{dydata.JKJEXX}}</td>

                    </tr>
                    <!--<tr>
                        <td style="text-align:center">供水单位</td>
                        <td colspan="8">陕西石头河水库灌溉中心{{dydata.GSDW}}</td>
                    </tr>-->
                    <tr>
                        <td colspan="2">开票人：</td>
                        <td colspan="4">收款人：</td>
                        <td colspan="3">复核：</td>

                    </tr>
                </tbody>

            </table>

            <table class="table table-hover table-striped table-bordered" style="margin-top:55px;display:none">
                <thead>
                    <tr>
                        <th colspan="9" style="text-align:center;font-size:20px">
                            陕西省农业灌溉水费
                        </th>
                    </tr>
                    <tr>
                        <th colspan="9" style="text-align:center;font-size:18px">
                            专 用 票 据
                            <!--<span style="float:right;font-size:14px">NO:201811010001</span>-->
                        </th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td style="text-align:center">用水单位</td>
                        <td colspan="5">{{dydata.YSDW}}</td>

                        <td style="text-align:center">开票日期</td>
                        <td colspan="3">{{dydata.KPRQ}}</td>

                    </tr>
                    <tr>
                        <td rowspan="2" style="text-align:center;vertical-align:middle">灌水时间</td>

                        <td rowspan="2" style="text-align:center;vertical-align:middle">作物种类</td>

                        <td rowspan="2" style="text-align:center;vertical-align:middle">亩数</td>
                        <td rowspan="2" style="text-align:center;vertical-align:middle">
                            流量
                        </td>
                        <td colspan="2" style="text-align:center;vertical-align:middle">用水量</td>
                        <td colspan="2" style="text-align:center;vertical-align:middle">
                            终端水价
                        </td>
                        <td rowspan="2" style="text-align:center;vertical-align:middle">
                            水费合计
                        </td>
                    </tr>
                    <tr>

                        <td style="text-align:center;vertical-align:middle">一档</td>
                        <td style="text-align:center;vertical-align:middle">
                            二档
                        </td>
                        <td style="text-align:center;vertical-align:middle">一档</td>
                        <td style="text-align:center;vertical-align:middle">
                            二档
                        </td>
                    </tr>
                    <tr>
                        <td rowspan="2" style="text-align:center;vertical-align:middle">{{dydata.GSSJ}}</td>
                        <td style="text-align:center;vertical-align:middle">粮油作物</td>

                        <td>{{dydata.LYMS}}</td>

                        <td>{{dydata.LYLL}}</td>
                        <td>
                            {{dydata.LYYSL1}}
                        </td>
                        <td>{{dydata.LYYSL2}}</td>
                        <td>
                            {{dydata.LYYSJ1}}
                        </td>
                        <td>
                            {{dydata.LYYSJ2}}
                        </td>
                        <td>
                            {{dydata.LYSFHJ}}
                        </td>

                    </tr>
                    <tr>
                        <td style="text-align:center;vertical-align:middle">经济作物</td>

                        <td>{{dydata.JJMS}}</td>

                        <td>{{dydata.JJLL}}</td>
                        <td>
                            {{dydata.JJYSL1}}
                        </td>
                        <td>{{dydata.JJYSL2}}</td>
                        <td>
                            {{dydata.JJYSJ1}}
                        </td>
                        <td>
                            {{dydata.JJYSJ2}}
                        </td>
                        <td>
                            {{dydata.JJSFHJ}}
                        </td>

                    </tr>
                    <tr>
                        <td style="text-align:center">交款金额（大写）</td>
                        <td colspan="5">{{dydata.JKJEDX}}</td>

                        <td style="text-align:center">小写</td>
                        <td colspan="3">{{dydata.JKJEXX}}</td>

                    </tr>
                    <tr>
                        <td style="text-align:center">供水单位</td>
                        <td colspan="8">灌区 --{{dydata.GSDW}}</td>
                    </tr>
                    <tr>
                        <td colspan="3">开票人：</td>
                        <td colspan="3">收款人：</td>
                        <td colspan="3">复核：</td>

                    </tr>
                </tbody>

            </table>
        </div>
        <div style="text-align:center">
            <button onclick="Preview()" class="btn btn-info btn-lg">打印票据</button>

        </div>


    </div>
    <script type="text/javascript" src="/ViewV5/JS/jquery-1.11.2.min.js"></script>
    <script src="/ViewV5/JS/jquery-migrate-1.1.0.min.js"></script>
    <script type="text/javascript" src="/ViewV5/CSS/bootstrap3.3.5/js/bootstrap.js"></script>
    <script type="text/javascript" src="/ViewV5/JS/json2.js"></script>
    <script src="/ViewV5/JS/SZHLCommon.js"></script>
    <script src="/ViewV5/JS/Print.js"></script>
    <script src="/ViewV5/JS/avalon1.47.js"></script>


    <script>

        var tempindex = avalon.define({
            $id: "dydata",
            dydata: {}
        })
        avalon.ready(function () {
            tempindex.dydata = top.$("body").data("dydata");
        })
        function Preview() {
            $("#princontent").printThis({
                debug: false,
                importCSS: true,
                importStyle: true,
                printContainer: true,
                loadCSS: "/ViewV5/CSS/bootstrap3.3.5/css/bootstrap.css",
                pageTitle: "通知公告",
                removeInline: false,
                printDelay: 333,
                header: null,
                formValues: true
            });
        };
    </script>
</body>
</html>


